package repository;

import java.util.List;

import command.SearchForm;

import domain.SearchResultItem;
import domain.SearchResultList;
import domain.User;

public interface SearchRepository {
	public void save(SearchForm searchForm);
	public List<SearchForm> getSavedSearchesByUser(User user);
	public SearchForm get(Integer id);
	public void saveResults(SearchResultList list);
	public void deleteSavedResult(SearchResultList list);
	public void delete(SearchForm search);
	public List<SearchResultList> getSavedResultsByUser(User user);
	public SearchResultList getSavedResult(int id);
	public SearchResultItem getSavedResultItem(int id);
}
